import java.util.Scanner;

public class Work02 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int count = 0;
        for(int i = 1 ; i<= 1200000;i++){
            if(1200000 % i == 0){
                count++;
                System.out.println(i);
            }
        }
        System.out.println(count);
        scan.close();
        return;
    }
}
